how to find which ratio is greater